import request from '@/utils/request'

export default {

  // 发送注册请求
  register(userRegister) {
    return request({
      url: `/userCenterMember/register`,
      method: 'post',
      data: userRegister
    })
  },
  // 发送邮件验证码
  sendEmail(email) {
    return request({
      url: `/msm/sendEmail?email=${email}`,
      method: 'post'
    })
  }

}
